/* 
 * File:   FlatTexture.cpp
 * Author: brady
 * 
 * Created on August 5, 2011, 11:22 PM
 */

#include <textures/FlatTexture.h>

FlatTexture::FlatTexture() {
}

FlatTexture::FlatTexture(Vector3D color){
    this->color = color;
}

FlatTexture::~FlatTexture() {
}

Vector3D FlatTexture::getColor(const IntersectionResult& ir){
    return color;
}

Vector3D FlatTexture::getNormal(const IntersectionResult& ir){
    return ir.normal;
}

